package domain;

import java.util.Date;
//学生表
public class Student {
    private String stunum;
    private String name;
    private String sex;
    private String classes;//班级
    private String dormnum;//宿舍号

    public String getStunum() {
        return stunum;
    }

    public void setStunum(String stunum) {
        this.stunum = stunum;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getClasses() {
        return classes;
    }

    public void setClasses(String classes) {
        this.classes = classes;
    }

    public String getDormnum() {
        return dormnum;
    }

    public void setDormnum(String dormnum) {
        this.dormnum = dormnum;
    }

    @Override
    public String toString() {
        return "Student{" +
                "stunum='" + stunum + '\'' +
                ", name='" + name + '\'' +
                ", sex='" + sex + '\'' +
                ", classes='" + classes + '\'' +
                ", dormnum='" + dormnum + '\'' +
                '}';
    }
}
